var globalLocale='';
var appURL = "http://37.187.34.116:81/confessions/ConfessionsWebService";
//var appURL = "http://nico287.dyndns.org:81/Noticiasonline/mobileapps/confessions";
var MINIMUM_CHARS_CONFESSION = 10;

$(document).on('pagebeforecreate', function(){  
    var interval = setInterval(function(){
        $.mobile.loading('show');
        clearInterval(interval);
    },1);     
});

function openMenu(){
	$( "#menu-panel" ).panel("open");
}

function exitAPP(){
	if(confirm($("#confirm_msgTag").html())){
		navigator.app.exitApp();
	}
}

function backToHome(){
	window.location.href='main.html';	
}

function listByCategory(){
	window.location.href='listByCategory.html';	
}

function backToHomeDeep(){
	window.location.href='../main.html';	
}

function backToMenu(){
	window.location.href='../menu_decisions.html';
}


